Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

17.7 Fair Scheduling Policy Infrastructure Setup

The routine init_sched_fair_class() prepares the underlying framework-level data structures and low-level mechanics required by fair task scheduling, particularly optimizing the infrastructures that govern cross-core load balancing. It registers the handler callback run_rebalance_domains() onto the kernel's software interrupt tracking system under the SCHED_SOFTIRQ vector, which triggers cross-CPU load balancing routines whenever a SCHED_SOFTIRQ softirq event is raised.

Copyright © 2026 Guangzhou eSmart Information Technology Co., Ltd. All Rights Reserved.
All content in this book is copyrighted by the author. For personal learning and exchange only. Commercial use without authorization is strictly prohibited. Email:

✉ 3348194517@qq.com | hai616878@gmail.com